package cn.cxyxj.study06.mapper;


import cn.cxyxj.study06.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


/**
 * 系统角色表 Mapper 接口
 *
 * @author cxyxj
 * @since 2022-10-25
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    @Select("SELECT role_name FROM `sys_role`  where id =  #{roleId}")
    List<String> selectByRoleId(Integer roleId);
}

